package top.zhaoyuliu.logbook.client.properties;

import java.io.Serializable;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * Copyright © 2021 Arain. All rights reserved.
 *
 * @Title: LogbookClientProperties.java
 * @Prject: logbook-client
 * @Package: top.zhaoyuliu.logbook.client.properties
 * @Description: <功能详细描述>
 * @author: Arain
 * @date: 2021年1月22日 下午1:04:16
 * @version: V1.0
 */
@Data
@ConfigurationProperties(prefix = "logbook.client")
public class LogbookClientProperties implements Serializable {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private Integer timeout = 5000;

	private String host = "127.0.0.1";

	private Integer port = 65534;

	private String appId = "client";

	private Integer logNumPush = 1024;

	private List<String> cluster;
	
	private List<String> level;
}
